package com.tedu._05sspringmvc2.mapper;

import com.tedu._05sspringmvc2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import com.tedu._05sspringmvc2.pojo.entity.User;

import java.util.List;

@Mapper
public interface UserMapper {
    int insert(User user);
    int delete(Integer id);
    int update(User user);
    List<UserVO> findAll();
    UserVO findById(Integer id);
}
